package com.wjr.braveheart.utils;

import android.app.Application;


/**
 * 初始化Util类
 */

public class InitUtils {
    private static volatile InitUtils instance;
    private boolean isInit;

    public static InitUtils getInstance() {
        if (instance == null) {
            synchronized (InitUtils.class) {
                if (instance == null) {
                    instance = new InitUtils();
                }
            }
        }
        return instance;
    }

    /**
     * 初始化
     */
    public void init(Application context) {
        AppConfig.getInstance().init(context);
        APPUtils.init(context);
    }

}
